package com.example.administrator.familfinalcialmanagement.ui.fragment;

import android.databinding.DataBindingUtil;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.example.administrator.familfinalcialmanagement.R;
import com.example.administrator.familfinalcialmanagement.databinding.FragmentReasionBinding;
import com.example.administrator.familfinalcialmanagement.util.GlideUtil;

/**
 * Created by Administrator on 2019/3/30.
 */

public class ReasionFragment extends BaseLazyFragment {

    FragmentReasionBinding binding;

    @Override
    protected View inflaterView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        binding = DataBindingUtil.inflate(LayoutInflater.from(getActivity()), R.layout.fragment_reasion, container, false);
        binding.setFragment(this);
        return binding.getRoot();
    }

    @Override
    protected void onVisible() {


    }

    @Override
    protected void lazyLoad() {
        GlideUtil.setCircleDrawableMethod(getActivity(),R.drawable.icon_add_select_before,binding.rightImage);

    }

    @Override
    public int setLayoutId() {
        return R.layout.fragment_index;
    }
}